package com.top10.service.impl;

import com.top10.entity.GoodsClass;
import com.top10.mapper.GoodsClassMapper;
import com.top10.service.IGoodsClassService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author su
 * @since 2018-10-14
 */
@Service
public class GoodsClassServiceImpl extends ServiceImpl<GoodsClassMapper, GoodsClass> implements IGoodsClassService {


    @Autowired
    private  GoodsClassMapper goodsClassMapper;


    @Override
    public List<Map<String, Object>> selectgoodsbycategory(String categoryuuid, String shopuuid) {
        return goodsClassMapper.selectgoodsbycategory(categoryuuid,shopuuid);
    }
}
